package com.movitech.mobile.cz.base.modules.config;

/**
 * 附件类型枚举
 * @author julius.zhu
 * @since 2018-03-14
 *
 */
public enum AttachmentTypeEnum {
	ATTACHMENT_TYPE_1("供方三年业绩合同附件", 1),
	ATTACHMENT_TYPE_2("供方营业执照/统一社会信用代码",2),
	ATTACHMENT_TYPE_3("供方增值税一般纳税人申请认定表",3),
	ATTACHMENT_TYPE_4("供方上年审计报告或年营业额证明文件",4),
	ATTACHMENT_TYPE_5("供方质量保证体系认证文件",5),
	ATTACHMENT_TYPE_6("供方安全生产许可证",6),
	ATTACHMENT_TYPE_7("供方生产经营许可证",7),
	ATTACHMENT_TYPE_8("供方资质等级证书",8),
	ATTACHMENT_TYPE_9("供方管理体系认证(ISO9001/14001/HSE等)",9),
	ATTACHMENT_TYPE_10("供方认证或荣誉证书",10),
	ATTACHMENT_TYPE_11("供方供方名称变更单（工商局盖章版）",11),
	ATTACHMENT_TYPE_12("供方其他附件",12),
	ATTACHMENT_TYPE_13("供方考察报告附件",13),

	ATTACHMENT_TYPE_14("供方入库申请附件",14),
	ATTACHMENT_TYPE_15("采购方案附件",15),
	ATTACHMENT_TYPE_16("招标文件附件",16),
	ATTACHMENT_TYPE_17("图纸附件",17),
	ATTACHMENT_TYPE_18("技术要求和管理要求附件",18),
	ATTACHMENT_TYPE_19("招标其他附件",19),
	ATTACHMENT_TYPE_20("供方质疑",20),
	ATTACHMENT_TYPE_21("答疑附件",21),
	ATTACHMENT_TYPE_22("补遗附件",22),
	ATTACHMENT_TYPE_23("技术标附件明标",23),
	ATTACHMENT_TYPE_24("技术标附件暗标",24),
	ATTACHMENT_TYPE_25("商务标附件",25),
	ATTACHMENT_TYPE_26("开标附件信息",26),
	ATTACHMENT_TYPE_27("询标问卷",27),
	ATTACHMENT_TYPE_28("技术标补充文件及技术部分询标回复",28),
	ATTACHMENT_TYPE_29("评标综合评标报告",29),
	ATTACHMENT_TYPE_30("评标其他附件",30),
	ATTACHMENT_TYPE_31("定标附件信息",31),
	ATTACHMENT_TYPE_32("中标通知书",32),
	ATTACHMENT_TYPE_33("未中标感谢信",33),
	ATTACHMENT_TYPE_34("banner附件",34),
	ATTACHMENT_TYPE_35("战略合作伙伴LOGO",35),
	ATTACHMENT_TYPE_36("协议相关附件",36),
	ATTACHMENT_TYPE_37("帮助中心附件",37),
	ATTACHMENT_TYPE_38("商务标附件(二轮)",38),
	ATTACHMENT_TYPE_39("商务标附件(商务谈判)",39),
	ATTACHMENT_TYPE_40("商务标附件(评标约谈)",40),
	ATTACHMENT_TYPE_41("二轮发标附件",41),
	ATTACHMENT_TYPE_42("定标约谈附件",42),
	ATTACHMENT_TYPE_43("一事一议",43),
	ATTACHMENT_TYPE_44("商务谈判附件",44),
	ATTACHMENT_TYPE_45("联系人社保证明",45),
	ATTACHMENT_TYPE_46("招标文件清单附件",46),

	ATTACHMENT_TYPE_47("(定标)综合评标报告",47),
	ATTACHMENT_TYPE_48("(定标)技术评标报告",48),
	ATTACHMENT_TYPE_49("(定标)商务评标报告",49),
	ATTACHMENT_TYPE_50("(定标)最终回标文件",50),
	ATTACHMENT_TYPE_51("(定标)价格对比表",51),
	ATTACHMENT_TYPE_52("(定标)往来函件",52),
	ATTACHMENT_TYPE_53("(定标)图纸及技术管理需求",53),
	ATTACHMENT_TYPE_54("(定标)定标会会议纪要（如有）",54),
	ATTACHMENT_TYPE_55("(定标)定标自检表",55),
	ATTACHMENT_TYPE_56("(定标)其他附件：如样品审核意见单等",56),

	ATTACHMENT_TYPE_57("(采购方案)技术管理需求及界面划分",57),
	ATTACHMENT_TYPE_58("(采购方案)招标图纸及审批单",58),
	ATTACHMENT_TYPE_59("(采购方案)品牌及送样清单",59),
	ATTACHMENT_TYPE_60("(采购方案)其他附件",60),

	ATTACHMENT_TYPE_61("考察照片附件-主入口/前台全体考察人员及乙方接待负责人合影",61),
	ATTACHMENT_TYPE_62("考察照片附件-营业执照",62),
	ATTACHMENT_TYPE_63("考察照片附件-资质证书",63),
	ATTACHMENT_TYPE_64("考察照片附件-合同业绩",64),
	ATTACHMENT_TYPE_65("考察照片附件-办公附件",65),
	ATTACHMENT_TYPE_66("考察照片附件-项目附件",66),
	ATTACHMENT_TYPE_67("考察照片附件-其他附件",67),

	ATTACHMENT_TYPE_100("招标文件新增附件(不发送到外网)",100),
	ATTACHMENT_TYPE_101("评估改进附件",101)

	;


	private String desc;
	private int code;

	private AttachmentTypeEnum(String desc, int code){
		this.desc = desc;
		this.code = code;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}
	public static String getNameByKey(int key){
		for(AttachmentTypeEnum i :AttachmentTypeEnum.values()){
			if(i.getCode()==key){
				return i.getDesc();
			}
		}
		return null;
	}
	
}
